home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11150 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: news.vtt.fi!usenet
  2. From: Mikko Kiviranta <Mikko.Kiviranta@vtt.fi>
  3. Newsgroups: comp.graphics.api.opengl,comp.lang.c++
  4. Subject: Watcom C++ and OpenGL
  5. Date: 12 Mar 1996 20:02:56 GMT
  6. Organization: Technical Research Centre of Finland
  7. Message-ID: <4i4l9g$bj9@lilja.vtt.fi>
  8. NNTP-Posting-Host: autmsk.sah.vtt.fi
  9.  
  10.  
  11.   I wonder how one compiles/links OpenGL applications in a
  12. Watcom C++ 10.5 / WinNT 3.51 environment?
  13.  
  14.   I tried building the sample program from the WinNT SDK online
  15. documentation (a sample ported from X-Windows) but I got a 
  16. lot of "undefined symbol" errors from the linker. The header 
  17. files gl.h, glu.h and glaux.h are where they belong but in the
  18. libraries directory there are only glu32.lib and glaux.lib. Am I
  19. missing a library file corresponding to gl.h? If so where do I get
  20. one?
  21.  
  22.   All the error messages referred to symbol names beginning with
  23. "gl" or "wgl" (like wglCreateContext or glPushMatrix) which fact
  24. supports the missing-library theory.
  25.  
  26.   Browsing thru the InfoBase CD-ROM I saw some discussion of how
  27. to do OpenGL with Watcom C++ 10.0. That discussion indicated that
  28. you're supposed to hand-code your own header files and make an 
  29. import library out of the NT's bundled opengl.dll with the WLIB
  30. utility. Surely this is no longer necessary with 10.5? At least 
  31. the header files have been provided by Watcom.
  32.  
  33.   Any info warmly appreciated.
  34.  
  35.   Thanks,
  36.           Mikko Kiviranta,   msk@sah.vtt.fi
  37.  
  38.  
  39.  
  40.